<?php

namespace App\Console\Commands\Tasks;
use Illuminate\Console\Command;
//use App\Http\Controllers\Common\Task\WeekStarController;
use App\Http\Controllers\Common\TaskController;

class WeekStarCommand extends Command
{
    //命令名
    protected $signature = 'task:week_star';

    //命令描述:上周周星数据入库，并且发送周星奖励
    protected $description = 'week star';

    public function __construct()
    {
        parent::__construct();
    }

    //业务处理
    public function handle()
    {
//        (new WeekStarController())->execute();
        (new TaskController())->saveWeekStar();
    }

}
